# -*-shell-script-*-

[Meta]
RootName: @abisource.org/link-grammar:@VERSION@
DisplayName: An english language parser
ShortName: link-grammar
Maintainer: Link-Grammar Team - http://www.abisource.com/projects/link-grammar/
Packager: Robert Staudinger <robsta@stereolyzer.net>
Summary: An english language parser
SoftwareVersion: @VERSION@
AutopackageTarget: 1.0
PackageVersion: 1

# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.

InterfaceVersion: 4.1

[Description]
An english language parsrer, based on the theory of link grammars.

[BuildPrepare]
# create configure wrapper when building out of the source tree
if [ ! -e "configure" ] ; then
        echo '#!/bin/bash' > configure
        echo '../link-grammar/configure $@' >> configure
        chmod +x configure
fi
prepareBuild --prefix=/break/if/binreloc/breaks --enable-binreloc --disable-debug

[BuildUnprepare]
unprepareBuild

[Imports]
echo '*' | import

[Prepare]
# avoid warning
echo "nothing to prepare"

[Install]
#doesn't work installExe ./bin/link-parser
installLib ./lib/*.so.*.*.*
installData ./share/*

[Uninstall]
uninstallFromLog
